package com.gt.app.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 肠镜检查相关资料表
 * </p>
 *
 * @author caidesheng
 */
@Data
@ApiModel(value="EsColonoscopyCheckInfo", description="肠镜检查相关资料表")
public class EsColonoscopyCheckInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "肠镜检查id")
    @TableId(value = "ordrowid", type = IdType.ASSIGN_ID)
    private String ordrowid;

    @ApiModelProperty(value = "筛选检查id")
    @TableField("ES_Check_id")
    private String esCheckId;

    @ApiModelProperty(value = "主要症状")
    private String mainSymptom;

    @ApiModelProperty(value = "病程(月)")
    private String patientCourseTime;

    @ApiModelProperty(value = "检查日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date checkDate;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;


}
